/* header
-------------------------------------*/
.masthead {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.0975);
    width: 100%;
    z-index: 1;
    padding: 12px 0.5em;
}

.logo,
.search,
.nav-main {
    text-align: center;
}

.logo {
    margin: 0;
    /*padding: 26px 40px;*/
    text-align: center;
}
.logo a img {
    border-radius: 50%;
    max-width: 7em;
}

.search input[type=search] {
    border: solid 1px #dbdbdb;
    color: #262626;
    font-size: 1em;
    outline: none;
    padding: 0.21em 0.71em 0.21em 1.86em;  /*padding: 3px 10px 3px 26px;*/
    z-index: 2;
    border-radius: 3px 0 0 3px;
    min-width: 125px;
    width: 215px;
    height: 30px;
}
.search input[type=submit] {
    height: 30px;
    background: transparent;
    border: solid 1px #dbdbdb;
    border-radius: 0 0.21em 0.21em 0;
    font-size: 1em;
    color: #262626;
    margin-left: -6px;
    padding: 0 0.5em;
    vertical-align: middle;
}
.search input[type=submit]:hover {
    cursor: pointer;
}

.nav-main {
    margin-top: 0;
    padding: .45em 0 .5em;
}

.nav-main li {
    display: inline-block;
}
.nav-main a {
    display: inline-block;
    padding: .5em;
    font-size: 1.2em;
    color: #262626;;
}

.nav-main a:hover {
    /*color: #029443;*/
    text-decoration: none;
}

.nav-main .current-page,
.nav-main .current-page:hover {
    color: #747474;
    cursor: default;
}
.nav-main .github {
    vertical-align: middle;
}


.content {
    margin: 0 auto;
    max-width: 960px;
    padding: 0 0.5em;
}
h1 {
    color: #212121;
    font-family: 'Lato', sans-serif;
    font-size: 2.25em;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: .975;
    margin-bottom: .4125em;
}

/* footer
---------------------*/
.footer .container {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
    padding: 2em 0.5em;
}
.footer p {
    color: #3a3a3a;
    font-family: arial, helvetica, sans-serif;
    font-size: 0.688em;
}
.footer p small {
    font-size: inherit;
}


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination > li {
    display: inline;
}
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #666;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #666;
    background-color: #eee;
    border-color: #ddd;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}
.pager li {
    display: inline;
}
.pager li > a,
.pager li > span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
    text-decoration: none;
    background-color: #eee;
}
.pager .next > a,
.pager .next > span {
    float: right;
}
.pager .previous > a,
.pager .previous > span {
    float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
}

.paging .pagination-wrapper {
    float: right;
}

/* ===================== MEDIA QUERIES ===================== */

/* 320+
------------------------------------------ */
@media only screen and (min-width: 20em) {
    .search {
        display: none;
    }
}

/* 480+
------------------------------------------ */
@media only screen and (min-width: 30em) {

}

/* 480-767-only
------------------------------------------ */
@media only screen and (min-width: 30em) and (max-width: 47.9375em) {

}

/* 600-767-only
------------------------------------------ */
@media only screen and (min-width: 37.5em) and (max-width: 47.9375em) {
    .search {
        display: block;
    }
}

/* 768+
------------------------------------------- */
@media only screen and (min-width: 48em) {
    body {
        font-size: 18px;
    }

    .masthead .container {
        max-width: 960px;
        height: 130px;
        margin-right: auto;
        margin-left: auto;
    }

    .masthead p.logo,
    .masthead .search,
    .masthead .nav-main
    {
        display: inline-block;
        vertical-align: middle;
    }

    .masthead .container {
        position: relative;
    }
    .masthead .search {
        position: absolute;
        left: 25%;
        top: 50%;
        transform: translateY(-50%);
    }
    .masthead .nav-main {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* 1024+
------------------------------------------- */
@media only screen and (min-width: 64em) {
    .content {
        padding: 0;
    }
    .masthead {
        padding-left: 0;
        padding-right:0;
    }

    .masthead .search {
        left: 30%;
    }
    .footer .container {
        padding-left: 0;
        padding-right:0;
    }
}
